/* 覆盖 element-plus 样式 */

:root {
  --el-color-primary: #409EFF;
  --el-color-primary-light-1: #53a7ff;
  --el-color-primary-light-2: #66b1ff;
  --el-color-primary-light-3: #79bbff;
  --el-color-primary-light-4: #8cc4ff;
  --el-color-primary-light-5: #9fceff;
  --el-color-primary-light-6: #b2d8ff;
  --el-color-primary-light-7: #c5e1ff;
  --el-color-primary-light-8: #d8ebff;
  --el-color-primary-light-9: #ebf5ff;
  --el-color-primary-dark-1: #398ee5;
  --el-color-primary-dark-2: #337ecc;
  --el-color-primary-dark-3: #2c6eb2;
  --el-color-primary-dark-4: #265e99;
  --el-color-primary-dark-5: #204f7f;
  --el-color-primary-dark-6: #193f66;
  --el-color-primary-dark-7: #132f4c;
  --el-color-primary-dark-8: #0c1f32;
  --el-color-primary-dark-9: #060f19;
}

.el-menu {
  border: none !important;
}

.el-menu .el-menu-item a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.el-form-item-msg {
  font-size: 12px;
  color: #999;
  clear: both;
  width: 100%;
}

.el-container {
  height: 100%;
}

.el-aside {
  border-right: 1px solid var(--el-border-color-light);
}

.el-container + .el-aside {
  border-right: 0;
  border-left: 1px solid var(--el-border-color-light);
}

.app-search {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--el-border-color-light);
  padding: 13px 15px;
  justify-content: space-between;
  align-items: center;
}

.el-header {
  background: #fff;
  border-bottom: 1px solid var(--el-border-color-light);
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.el-header .left-panel {
  display: flex;
  align-items: center;
}

.el-header .right-panel {
  display: flex;
  align-items: center;
}

.el-header .right-panel > * + * {
  margin-left: 10px;
}

.el-footer {
  height: 51px;
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--el-border-color-light);
}

.el-main {
  padding: 15px;
}

.el-main.no-padding {
  padding: 0;
  background: #fff;
}

.el-drawer__body {
  overflow: auto;
  padding: 0;
}

.el-popconfirm__main {
  margin: 14px 0;
}

.el-card__header {
  border-bottom: 0;
  font-size: 17px;
  font-weight: bold;
  padding: 15px 20px 0 20px;
}

.el-dialog__title {
  font-size: 17px;
  font-weight: bold;
}

.el-drawer__header > :first-child {
  font-size: 17px;
  font-weight: bold;
}

.el-tree.menu .el-tree-node__content {
  height: 36px;
}

.el-tree.menu .el-tree-node__content .el-tree-node__label .icon {
  margin-right: 5px;
}

.el-progress__text {
  font-size: 12px !important;
}

.el-progress__text i {
  font-size: 14.4px !important;
}

.el-step.is-horizontal .el-step__line {
  height: 1px;
}

.el-step__title {
  font-size: 14px;
}

.drawerBG {
  background: #f6f8f9;
}

.el-button + .el-dropdown {
  margin-left: 10px;
}

.el-button-group + .el-dropdown {
  margin-left: 10px;
}

.el-button-group + .el-button-group {
  margin-left: 10px;
}

.el-tabs__nav-wrap::after {
  height: 1px;
}

.el-table th.is-sortable {
  transition: .1s;
}

.el-table th.is-sortable:hover {
  background: #eee;
}

.el-table .el-table__body-wrapper {
  background: #f6f8f9;
}

.el-col .el-card {
  margin-bottom: 15px;
}

.el-main {
  flex-basis: 100%;
}

.el-main > .jcx-table .el-table--border::before {
  display: none;
}

.el-main > .jcx-table .el-table--border::after {
  display: none;
}

.el-main > .jcx-table .el-table--border .el-table__inner-wrapper::after {
  display: none;
}

.el-main > .jcx-table .el-table__border-left-patch {
  display: none;
}

.el-main > .jcx-table .el-table--border .el-table__inner-wrapper tr:first-child td:first-child {
  border-left: 0;
}

.el-main > .jcx-table .el-table--border .el-table__inner-wrapper tr:first-child th:first-child {
  border-left: 0;
}

.el-table.el-table--large {
  font-size: 14px;
}

.el-table.el-table--small {
  font-size: 12px;
}

.el-table {
  font-size: 12px;
}

.el-radio-button__inner {
  font-size: 12px;
}

.el-checkbox-button__inner {
  font-size: 12px;
}

.el-sub-menu .el-icon {
  font-size: 17px;
}

.el-sub-menu .el-sub-menu__icon-arrow {
  font-size: 12px;
}

.main-ui-side-split li.active {
  background-color: var(--el-color-primary);
}

.contextmenu li:hover {
  background-color: var(--el-color-primary-light-9) !important;
  color: var(--el-color-primary-light-2) !important;
}

.data-box .item-background {
  background-color: var(--el-color-primary) !important;
}

.layout-setting, .diy-grid-setting {
  background-color: var(--el-color-primary) !important;
}

/* 全部禁用el-tag动画 */
.el-tag {
  transition: all 0s !important;
}

/* 覆盖 tinymce 样式 */
.jcx-editor .tox-tinymce {
  border: 1px solid #DCDFE6;
  border-radius: 0;
}

body .tox-tinymce-aux {
  z-index: 5700;
}
